package com.bjsxt.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Collections;
import java.util.List;

/**
 * @Description: 角色权限
 * @ClassName: RolePrivilegesParam
 * @Author: chenyu
 * @Date: 2025/3/7 16:28
 */
@Data
@ApiModel(value = "接收角色和权限数据")
public class RolePrivilegesParam {

    @ApiModelProperty(value = "角色的ID")
    private Long roleId;

    @ApiModelProperty(value = "角色包含的权限")
    private List<Long> privilegeIds = Collections.emptyList();
}
